
<div class="title">
	Related listings from <strong class="text-danger">Other City </strong>
</div>
<ul class="list-group">
	<?php if($related_listing_other){?>
	<?php foreach ($related_listing_other as $listing):?>
	<?php $key = $this->commoncall->url($this->category_model->getCategory_info($this->listing_model->randomTag($listing->id)->term_value)->name);?>
	<li class="list-group-item"  style="border: none"><h4>
			<a href="<?= base_url(); ?>browse/profile/<?= $this->commoncall->url($this->location_model->get_city_data($listing->city)->cityname) ?>/<?= $key; ?>/<?= $this->commoncall->url($listing->title) ?>-<?= $this->commoncall->url($listing->id) ?>"><strong class="text-success"><?=$listing->title;?> </strong>
			</a>
			
			<button type="button" title="Viewd : <?= $listing->hits; ?>"
						class="btn btn-link btn-xs btn-success pull-right">
						<span class="glyphicon glyphicon-signal"></span>
						<?= $listing->hits; ?>
			</button>
			
		</h4>
		<div>
			<ul class="list-inline">
				<?php echo Modules::run('listing/profile/listing_key', $profileID = $profileID);?>
			</ul>
		</div>
		
			<?php if($listing->address1){?>
			<div><?= $listing->address1; ?> &nbsp;
				<?= $listing->address2; ?>
			</div>
			<?php }?>

			<div>
			<?php if($listing->city) ?>	<?= $this->location_model->get_city_data($listing->city)->cityname; ?>, 
			<?= $this->location_model->get_region_data($listing->state)->statename; ?>
				<?= $listing->zip; ?>
			</div>
						
			
			
	
	</li>
	<?php endforeach;?>
	<?php }?>
</ul>
